package org.jeecg.modules.chg.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.chg.entity.ChgFees;
import org.jeecg.modules.chg.vo.ChgFeeCountVo;
import org.jeecg.modules.mr.entity.MrRecords;

import java.util.List;

/**
 * @Description: 收费记录
 * @Author: jeecg-boot
 * @Date:   2022-02-21
 * @Version: V1.0
 */
public interface ChgFeesMapper extends BaseMapper<ChgFees> {

    /**
     * 根据缴费ID查询未开票的收费记录
     * @param paymentId
     * @return
     */
    public List<ChgFees> noOpenBillFees(@Param("paymentId") String paymentId);

    /**收费汇总*/
    public List<ChgFeeCountVo> chargeFeeCount(@Param("finBeginDate") String finBeginDate
            ,@Param("finEndDate") String finEndDate);
}
